package 创建者模式.工厂模式.p02_简单工厂;

/**
 * @Description TODO
 * @Author shallow
 * @Date 2023/3/3 11:13
 */

public class Client {
    public static void main(String[] args) {
        CoffeeStore coffeeStore = new CoffeeStore();
        Coffee coffee = coffeeStore.orderCoffee("AmericanCoffee");
        System.out.println(coffee.getName());
    }
}
